package xiaoqi.springboot.boot.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xiaoqi.springboot.boot.dao.UserDao;
import xiaoqi.springboot.boot.dataobject.UserDO;

@Service
public class UserService {
    @Autowired
    private UserDao userDao;

    public UserDO get(Integer id) {
        return userDao.selectById(id);
    }
}
